a small change on login; but a bug found on running uploadImage.jsp