added hash generator for user registration
Editor fixed