Started hooks

Also created a user object
hooks are called by the database as events in the game