Handlers module, roles and basic stats

* moved handlers to a handlers module
* Users can have user (0), report (10) and admin (20) roles
* report and admin users can see how number of sessions and average session duration in the current day or week