added basic login and redirect services to the application