Implemented automatic redirect user to login page when session expires