Add user model and sti

It resolves #6