changed webapi endpoint url for login and close #3