Creatted the login and register controllers