Add password hashfunction