minor reformatting
store password hash in database instead of plain text