adding webservice API and fixing login service