added basic authentication system and routes. Passwords are hashed