Added a service for login component
Merge pull request #1 from immysl/require

Added a service for login component