Add part 1 of the new login method