Fixed admin authorization. Test modification.
Fixed displaying of archived projects in search. Fixed user detail view.
Refactoring of code - phase 1.
Refactoring of code - phase 2.