Refactoring + corrected login view controller requests