Changed "stmt.setInt(id,1);" in try block of loadUserData() to "stmt.setInt(1,id);"