Added authenication method to user.
.
Added user authentication