Refactored login process so that primary user system has no knowledge of Parse