check if user is logged in, display back button