added variable interval for check for new messages - often for active users - only once every 5 minutes for inactive users