start the login and signin funcs