added login and logout functionality, added named routes for login, logout, signup