add onLogin function to track user activity
tried fixing cookies for analytics.js
admin report uses data from login hooks
merge finished