Implemented Manager for User class. Fixed login / logout.