add authentications methods in user model
some changes
merge dev
delete index