registration routes and login routes works