added functionality to cache user account info on successful portal login, changes also made to User model