4.1 Logging in with $http