updated login() in userloginDAOImpl to keep try catch block for session close