Issue #168 - adding the login API finalized