Update users login time
Moved accessRules to Controller