Fixed the relationship issues between User and Activities, and prepared for the use of Statesman
Finished the user activity logic as well as the basic frontend for activity tracking