Updated database model

Allows issues to be added without requiring a user id (anonymous users)