added user model authenticate