Some refactoring

Refactor DbContext and AppUser to be separated from Web