fixed errors with account user and sessions