modified url and added js for submit of forms/login