working on hash- just proof of concept so far. code will have to go in validate or register function in auth