finished class and user management