New comments and tests

Comments to help with technical details and new tests for login,
removeAccount and createAccount methods
Added method implementations
Removed unused import