Create sign up, login and logout functionality