add first set of red tests
Fixed broken complete callback for login
Add complete for login, and use code style of the lib