Added logic to user model
Will now auto create first user if there is none in db