Added login logic with fake webservice.