added hash password method
merge resolved