Added a status checker

Added a checker that queries the database of the users' last activity and log them out if it goes beyond the set time