re-structuring user sign-in and sign-up