Refactored user and page models, added scopes
Recfactored user model further