moved hashing function to utils
moved the salt to Utils
now handling login