Add basic login
Add http response codes
Merge pull request #17 from Maome/login

Add basic login