login.jsp -- Added try-catch block