Making code compile
Added login
Retrieve leads
Added logout