Fixed some problems on login.jsp