check session for account page