Added new user constructor and logger