Add basic login
Add http response codes