case management for login and signup finished