working login, signup, and logout