Removed unnecessary line in gulp file.
Application now redirects to login when an 401 is returned from the server. Did some more refactoring around client files.