added error catch for admin side when not using database based sessions