More changes to decouple validations from project objects.
Fix erroneous user login check.