fixed dao  nullPointerexception in Order and User