Added login abilities for REST webservice requests