User History page checks if user is logged in