update authenticate_user
Merge pull request #31 from caok/master

update authenticate_user