refactoring projects spec and users spec