login method now returns store name and comId, route upgraded to return json