setup the view for login and signup