dev: hooks

Fixing the hooks, still needs some changes to account for email
identification instead of user.