Modifying registration and login