Some refactoring. Setting up projects API. Added login bypass