Added in session the last_visit value for user. Added also checks on it. Added 2 other messages in the new job modal for OK and KO. Now, when the job is created successfully, ok message is returned
Redirect on session expire works in application.php script. BUG FIX: if loggin in, do not have to check if session expired.