replaced login function call with setTempManPass function (index.html)