Made it possible to login in the application