public static function checksession()
 {
     session_start();
     if ($_SESSION['loggedin'] == 1) {
         FileHelper::timeoutsession();
     }
 }