implemented routes, signup, login and logout