Check if session id is still valid, and if not, send user back to login screen