added return
updates tests for login and tools