changed login and register