added sha functions to signup