added dependencies
changed hash service to pass the salt