Implement authentication and change password