updated registration route
added hash generation