Changes to Login function in Controller and signin.cshtml

Connected the controller to sigin.cshtml via javascript and ajax.