Added code to create user.

Fixed issue where Id was not auto incrementing.