fixing visibility on the TAG field and removing an unused method
Creating a login(Map, Callback) method
Adding tests for logging in using a Map