Comments added to UserActivity. Moved setting of User member variables into view