added hash back as its own class
removed hashing from crypto
fixed things in auth