Camelcased two functions. Added minor security by using more pepper for hashing. Added two todos to decrease the complexity and increase maintainability.