clearing all sessions if the page is loaded and the user is not authenticated