make user model accessible for login process