Added basic register functionality, created user model