finished the login, working on the regisration