clean up routes file
refactor registration and login features