Add authenticate to user model