TO SQUASH TRY/CATCH fix, remove loggedout template