added routes for login and register
sign up and login with database