Login analytics

this is a WIP so I can get a sandbox up, please disregard, sorry!