Should 60 * 30 be a configuration variable (inside config/config.php) ?