Control sign-in and signg-up