AC-3: Added possibility to log in.
AC-3: Added basic error handling to login.
Merge pull request #2 from openmrs/AC-3

AC-3: Added login fucionality