Added login funtionality to tracker.