complete login and signup