Tidying up
fixed bad table name, added hooks for bid form