Login Issue after registration