Started work on login api

This needs some serious reworking, but it should be functional now.
Merge pull request #5 from trajing/arkandosDev

Login api