Remove errors from login.jsp and add remaining functionality to
rememberme method in functions.js